<?php
namespace app\common\model\mysql;

use think\Model;

class GoodsSku extends Model
{
    protected $name = 'mall_goods_sku';

    protected $pk = 'id';

    //用户状态
    const STATUS_NORMAL = 1;
    const STATUS_PEDDING = 0;
    const STATUS_DELETE = 99;

    static $statusArr = [
        self::STATUS_NORMAL => '正常',
        self::STATUS_PEDDING => '待审核',
        self::STATUS_DELETE => '删除',
    ];

    protected $autoWriteTimestamp = true;
}